<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" href="${initParam.root }/css/board/main_boardShowContent.css">
<script type="text/javascript">
$(document).ready(function(){
	$("#list_btn").click(function(){
		location.href="board.do?command=noticeAllList&pageNo=1";
	});
	$("#del_btn").click(function(){
		location.href="board.do?command=noticeDelete&b_no=${requestScope.content.B_NO}";
	});
	$("#modi_btn").click(function(){
		location.href="board.do?command=noticeUpdatePage&b_no=${requestScope.content.B_NO}";
	});
	
});
</script>
<div id="전체틀">
	<div id="컨텐츠">
		<table id="content">
			<tr class="tr_title">
				<td width="10%">no  ${requestScope.content.B_NO }</td><td width="72%" class="td_title"><b>${requestScope.content.B_TITLE }</b></td><td width="18%" class="td_date">${requestScope.content.B_DATE }</td>
			</tr>
			<tr class="tr_title2">
				<td colspan="3">${requestScope.content.M_NAME }(관리자) count ${requestScope.content.B_CNT } </td>
			</tr>
			<%-- <c:if test="${requestScope.bvo.orgfilename!=null }">
				<tr>
					<td>
						<font size="2">
							파일 다운로드 링크
						</font>
					</td>
				</tr>
			</c:if> --%>
			<tr>
				<td colspan="3" class="td_content">
					<!-- <pre>글내용</pre> -->
					<pre>${requestScope.content.B_CONTENT }</pre>
				</td>
			</tr>
		</table>
	</div>

	<c:if test="${sessionScope.loginMember.mvoLogin.m_type=='a' }">
	<div id="btn">
		<ul>
			<li><img src="${initParam.root }/img/paging/answer_btn.jpg" alt="답글"></li>
			<li><img src="${initParam.root }/img/paging/modify_btn.jpg" alt="수정" id="modi_btn"></li>
			<li><img src="${initParam.root }/img/paging/delete_btn.jpg" alt="삭제" id="del_btn"></li>
			<li><img src="${initParam.root }/img/paging/list_btn.jpg" alt="목록" id="list_btn"></li>
		</ul>
	</div>
	</c:if>
			
</div>